package com.bootdo.core.dao;

import com.bootdo.core.domain.ShortVideoComplaintDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 小视频举报表
 * @author xgc
 * @email 1992lcg@163.com
 * @date 2019-04-17 19:20:41
 */
@Mapper
public interface ShortVideoComplaintDao {

	ShortVideoComplaintDO get(Integer id);
	
	List<ShortVideoComplaintDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(ShortVideoComplaintDO shortVideoComplaint);
	
	int update(ShortVideoComplaintDO shortVideoComplaint);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

	int review(@Param(value = "id")Integer id,@Param(value = "status")String status);
}
